package chp12.test3;

public class TestLoan {

    public static void main(String[] args) {
        double loan = 1000000;
        int choice = 2;

        Loan lo = new Loan();
        System.out.println("贷款金额:" + loan);
        System.out.println("1. 3年(36个月) 2. 5年(60个月) 3.20年(240个月)");
        System.out.println("年限选择:" + choice);
        lo.loan(loan,choice);
    }
}
